<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
 <html xmlns="http://www.w3.org/1999/xhtml"
 xmlns:ui="http://java.sun.com/jsf/facelets"
 xmlns:h="http://java.sun.com/jsf/html"
 xmlns:f="http://java.sun.com/jsf/core"
 xmlns:p="http://primefaces.prime.com.tr/ui">
<h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link href="./resources/css/default.css" rel="stylesheet" type="text/css" />
        <link href="./resources/css/cssLayout.css" rel="stylesheet" type="text/css" />
        
        
        
        <title>Aplicação Facelets</title>
    </h:head>


 <div id="logo"><img src="../resources/icons/logo.png"/>
</div>

<div style="text-align:center;font-size:15px;"><h3>Início </h3></div>
<fieldset style="width: 923px;margin:auto;box-shadow:0px 5px 8px 3px #BBB;padding-bottom: 14px;">
<legend><font size="2"> Início</font></legend>
<h:outputLabel  value="Bem vindo #{sessionScope.usuario.nome}!"/>

<div id="geralindex">
<div id="cadastro">

<a href="cadastroUsuario.xhtml"><img src="../resources/icons/cadastrarusu.png"/>
  <br></br> <div align="center"> Cadastrar <br></br>Usuário</div>
 
 </a>
 <br></br>
 <br></br>
 
 </div>
 
 <div id="consultaadmins">
 <a href="consultaAdm.xhtml"><img src="../resources/icons/admins.png"/>
    <br></br> <div align="center"> Consultar <br></br>Admins</div>
 
 </a>
 <br></br>
 <br></br>
 </div>
 
  <div id="consultapaciente">
 <a href="consultaPaciente.xhtml"><img src="../resources/icons/pesquisar.png"/>
  <br></br> <div align="center"> Consultar <br></br>Paciente</div>
 
 </a>

 <br></br>
 <br></br>
 </div>
 
  <div id="consultamedico">
 <a href="consultaMedico.xhtml">
   <img src="../resources/icons/consultar.png"/>
	<br></br> <div align="center"> Consultar <br></br>Médicos</div>
 </a>

<br></br>
 <br></br>
 </div>
 
 <div id="cadastraragenda">
 <a href="cadastrarAgenda.xhtml">
    <img src="../resources/icons/iconmedico1.png"/>
 <br></br> <div align="center"> Cadastrar <br></br>Agenda</div>
 </a>
</div>

<div id="cadastraragenda1">
 <a href="ConsultarAgendaMedica.xhtml">
    <img src="../resources/icons/consultaragenda.png" style="margin-left:29px;"/>
 <br></br> <div align="center"> Consultar Agenda<br></br>Medica </div>
 </a>
</div>

<div id="logout2">
 <h:form >
<h:commandButton  value="LogOut" action="#{loginManager.logOut}" image="../resources/icons/logout1.png"/>
</h:form >
</div>
</div>


</fieldset>
</html> 
          